/**
 * @author Mirko Bordjoski
 */	
package org.piwik
{
	/**
	* The PiwikSetup class holds the data to init Piwik object. 
	*/	
	public class PiwikSetup
	{
		/**
		 * @private 
	 	*/
		private var baseURL:String;
		
		/**
		 * @private 
	 	*/
		private var siteID:uint;
		
		/**
		 * @private 
	 	*/
		private var authToken:String;
		
		
		/**
		* Constructor.
		* <p />
		* The PiwikSetup class holds the data to init Piwik object.
		* <p /> 
		* 
		* @param	$baseURL			URL of Piwik Analytics page.
		* @param	$siteID				ID of the site.
		* @param	$authToken			Token_auth - uniq for every user.
		* 
		*/	
		public function PiwikSetup($baseURL:String = "http://piwik.org/demo/", $siteID:uint = 1, $authToken:String = "anonymous"):void
		{
			baseURL = $baseURL;
			siteID = $siteID;
			authToken = $authToken;
		}
		
		
		
		/**
		* Sets URL of your Piwik home page.
		* <p /> 
		* 
		* @param	$baseURL			URL of Piwik Analytics page.
		*  
		*/	
		public function setURL($baseURL:String):void
		{
			baseURL = $baseURL;
		}	
		
		/**
		* Sets ID of the site.
		* <p /> 
		* 
		* @param	$siteID				ID of the site.
		*  
		*/		
		public function setSiteID($siteID:uint):void
		{
			siteID = $siteID;
		}
		
		/**
		* Sets token_auth.
		* <p /> 
		* 
		* @param	$authToken			Token_auth - uniq for every user.
		*  
		*/	
		public function setAuthToken($authToken:String):void
		{
			authToken = $authToken;
		}
		
		
		/**
		* Returns URL of your Piwik home page. 
		*/
		public function getURL():String
		{
			return baseURL;
		}
		
		/**
		* Returns ID of the site. 
		*/
		public function getSiteID():uint
		{
			return siteID;
		}
		
		/**
		* Returns token_auth. 
		*/
		public function getAuthToken():String
		{
			return authToken;
		}
	}
}